<template>
  <!-- 路由视图容器 -->
  <router-view></router-view>
</template>
<style>
/* 全局基础样式 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background-color: #f5f7fa;
}
/* 全局滚动条样式 (Windows友好) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #a8a8a8;
}
/* 全局链接样式 */
a {
  color: #42b983;
  text-decoration: none;
}
/* 全局弹窗动画 */
.modal-enter-active,
.modal-leave-active {
  transition: opacity 0.3s;
}
.modal-enter-from,
.modal-leave-to {
  opacity: 0;
}
/* 全局响应式断点 */
@media (max-width: 768px) {
  .user-table .table-header,
  .user-table .table-row {
    grid-template-columns: 60px 1fr 120px;
  }
  
  .search-box {
    flex-direction: column;
  }
}
</style>